<?php
/**
 * @version		$Id: weblinks.php 20196 2011-01-09 02:40:25Z ian $
 * @package		Joomla.Site
 * @subpackage	com_weblinks
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// No direct access.
defined('_JEXEC') or die;

if(!defined('DS')){
	define('DS',DIRECTORY_SEPARATOR);
}

jimport('joomla.application.component.controller');
require_once JPATH_ADMINISTRATOR.DS.'components'.DS.'com_wrd'.DS.'helpers'.DS.'wrd.php';

require_once( JPATH_ADMINISTRATOR.DS.'components'.DS.'com_wrd'.DS.'classes'.DS.'utilities'.DS.'pointProvider.php');
require_once( JPATH_ADMINISTRATOR.DS.'components'.DS.'com_wrd'.DS.'classes'.DS.'utilities'.DS.'utilitiesProvider.php');

require_once JPATH_COMPONENT.'/helpers/route.php';

$controller	= JControllerLegacy::getInstance('Promotions');
$controller->execute(JRequest::getCmd('task'));
$controller->redirect();